package com.bitdf.txing.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bitdf.txing.chat.entity.AddFriendRequestEntity;
import com.bitdf.txing.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ???
 * @email 123@qq.com
 * @date 2022-11-23 22:43:50
 */
public interface AddFriendRequestService extends IService<AddFriendRequestEntity> {

    PageUtils queryPage(Map<String, Object> params);

    AddFriendRequestEntity requestAddFriend(Long selfId, Long friendId);

    List<AddFriendRequestEntity> getAddFriendRequest(Long selfId);

    AddFriendRequestEntity agreeAddFriendRuquest(Long id, Long selfId);

    AddFriendRequestEntity disagreeAddFriendRuquest(Integer id, Long selfId);
}

